package com.liuboya.service.tablebiz.wbuser;

import com.alibaba.fastjson.JSONObject;
import com.liuboya.dao.weibo.wbuser.entity.WbUser;
import com.liuboya.dao.weibo.wbuser.entity.WbUserExample;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 描述：
 *
 * @author yeyuan
 * @date 2021/08/27 16:15
 **/
public interface WbUserService {

    List<WbUser> find(WbUserExample example);

    Integer count(WbUserExample example);

    Integer update(WbUser wbuser, WbUserExample example);

    Long insert(WbUser wbuser);

    WbUser findByWeiBoId(Long id);
    /**
     * feed流数据转换为wbuser实体类
     *
     * @param jsonObject feed流数据
     * @return wbuser实体类
     */
    List<WbUser> feedJsonToUser(JSONObject jsonObject);
}
